//
//  LMImageModelCell.m
//  EPA
//
//  Created by lanou3g on 16/4/22.
//  Copyright © 2016年 liman. All rights reserved.
//

#import "LMImageModelCell.h"

@implementation LMImageModelCell
+(CGFloat)height{
    return 240;
}
-(void)setmodel:(LMImageModel *)model{
    if (_model != model) {
        _model = model;
    }
    NSLog(@"LMImageModel");
}
-(void)layoutSubviews{

    self.titleLabel.text = self.model.title;
    self.desLabel.text  = self.model.content;
    [self.titelImageView sd_setImageWithURL:[NSURL URLWithString:self.model.coverimg]];
    self.userNameLabel.text = self.model.uname;
    [self.userIcoImageView sd_setImageWithURL:[NSURL URLWithString:self.model.icon]];
}

@end
